AFAIK, you can't call an external program from within a scene or include
file, but you certainly can using shell-out INI file settings (explained in
the docs at "3.1.2.6 Shell-out to Operating System"). Perhaps your goal
could be achieved by setting a proper "Pre_Frame_Command" or
"Post_Frame_Command".